package com.findviewbydream.evil.helloyouth.Fragment.HomeFragmentContent;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.findviewbydream.evil.helloyouth.R;

/********************************************
 * 工程名：HelloYouth
 * 包名：com.findviewbydream.evil.helloyouth.Fragment
 * 时间：16-6-7 下午11:29
 * 作者：白雨濃 evil
 * 邮箱：evilbai@foxmail.com
 * 内容：商品中心界面
 ********************************************/
public class ShopFragment extends Fragment
{
    private View view;
    private static ShopFragment shopFragment;

    /**
     * 入口函数
     */
    public static ShopFragment newInstance()
    {
        if (shopFragment == null)
            shopFragment = new ShopFragment();
        return shopFragment;
    }

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState)
    {
        view = inflater.inflate(R.layout.home_shopfragment, container, false);
        return view;
    }
}
